$(document).ready   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
var $ = window.jQuery;
2
3
exports.settings = {
4
    init: function() {
5
        
6
        Amarkal.settings.fields.init();
0 ignored issues
show
Bug introduced by
The variable Amarkal seems to be never declared. If this is a global, consider adding a /** global: Amarkal */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
7
        Amarkal.settings.search.init();
8
        Amarkal.settings.sections.init();
9
10
        // This is called after the onChange/hide/show event listeners are added since some events
11
        // are triggered when the form is instantiated
12
        $('#amarkal-settings-form').amarkalUIForm();
13
    }
14
};
15
16
$(document).ready(function(){
17
    Amarkal.settings.init();
0 ignored issues
show
Bug introduced by
The variable Amarkal seems to be never declared. If this is a global, consider adding a /** global: Amarkal */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
18
});
19